﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cmd;

namespace cmd.Test
{
    public class IOOperationOptions : OptionSet
    {
        [Option("d", "Specifies the directory name.", Name = "Directory name", Alias = "dir")]
        [OptionGroup("folderOps", Required = true)]
        public string DirectoryName { get; set; }

        [Option("f", "Specifies the file name.", Name = "File name", Alias = "file")]
        [OptionGroup("fileOps", Required = true)]
        public string FileName { get; set; }

        protected override string[] GetUsageScenarios()
        {
            List<string> list = new List<string>();

            list.Add("[-d|-f]");

            return list.ToArray();
        }
    }
}
